home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / tril.tex < prev    next >
LaTeX Document  |  1994-04-27  |  2.0 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: tril.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 74 72 69 6c 20 2d 2d |\section|{tril --|
|00000010| 2d 20 6c 6f 77 65 72 20 | 74 72 69 61 6e 67 75 6c |- lower |triangul|
|00000020| 61 72 20 6d 61 74 72 69 | 78 7d 0d 5c 6c 61 62 65 |ar matri|x}.\labe|
|00000030| 6c 7b 66 6e 3a 74 72 69 | 6c 7d 0d 5c 69 6e 64 65 |l{fn:tri|l}.\inde|
|00000040| 78 7b 74 72 69 6c 28 29 | 7d 0d 5c 69 6e 64 65 78 |x{tril()|}.\index|
|00000050| 7b 6d 61 74 72 69 78 21 | 6c 6f 77 65 72 20 74 72 |{matrix!|lower tr|
|00000060| 69 61 6e 67 75 6c 61 72 | 20 70 61 72 74 7d 0d 5c |iangular| part}.\|
|00000070| 69 6e 64 65 78 7b 6c 6f | 77 65 72 20 74 72 69 61 |index{lo|wer tria|
|00000080| 6e 67 75 6c 61 72 20 6d | 61 74 72 69 78 7d 0d 5c |ngular m|atrix}.\|
|00000090| 62 65 67 69 6e 7b 72 61 | 69 6c 7d 0d 54 72 69 6c |begin{ra|il}.Tril|
|000000a0| 20 3a 20 27 74 72 69 6c | 27 20 27 28 27 20 4d 61 | : 'tril|' '(' Ma|
|000000b0| 74 72 69 78 20 28 27 2c | 27 20 53 63 61 6c 61 72 |trix (',|' Scalar|
|000000c0| 29 3f 20 27 29 27 20 3b | 0d 5c 65 6e 64 7b 72 61 |)? ')' ;|.\end{ra|
|000000d0| 69 6c 7d 0d 0d 5c 76 65 | 72 62 2b 74 72 69 6c 2b |il}..\ve|rb+tril+|
|000000e0| 20 72 65 74 75 72 6e 73 | 20 74 68 65 20 6c 6f 77 | returns| the low|
|000000f0| 65 72 20 74 72 69 61 6e | 67 75 6c 61 72 20 70 61 |er trian|gular pa|
|00000100| 72 74 20 6f 66 20 74 68 | 65 20 61 72 67 75 6d 65 |rt of th|e argume|
|00000110| 6e 74 20 6d 61 74 72 69 | 78 2e 0d 49 66 20 6e 6f |nt matri|x..If no|
|00000120| 20 73 63 61 6c 61 72 20 | 61 72 67 75 6d 65 6e 74 | scalar |argument|
|00000130| 20 69 73 20 70 72 65 73 | 65 6e 74 2c 20 74 68 69 | is pres|ent, thi|
|00000140| 73 20 69 73 20 61 6c 6c | 20 74 68 65 20 74 65 72 |s is all| the ter|
|00000150| 6d 73 20 6f 6e 20 74 68 | 65 20 6d 61 69 6e 20 64 |ms on th|e main d|
|00000160| 69 61 67 6f 6e 61 6c 20 | 0d 61 6e 64 20 62 65 6c |iagonal |.and bel|
|00000170| 6f 77 2e 20 54 68 65 20 | 72 65 6d 61 69 6e 64 65 |ow. The |remainde|
|00000180| 72 20 6f 66 20 74 68 65 | 20 6d 61 74 72 69 78 20 |r of the| matrix |
|00000190| 69 73 20 73 65 74 20 74 | 6f 20 7a 65 72 6f 2e 20 |is set t|o zero. |
|000001a0| 49 66 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |If the o|ptional |
|000001b0| 0d 73 63 61 6c 61 72 20 | 61 72 67 75 6d 65 6e 74 |.scalar |argument|
|000001c0| 20 69 73 20 70 72 65 73 | 65 6e 74 2c 20 74 68 65 | is pres|ent, the|
|000001d0| 6e 20 69 74 20 73 70 65 | 63 69 66 69 65 73 20 74 |n it spe|cifies t|
|000001e0| 68 65 20 64 69 61 67 6f | 6e 61 6c 20 74 6f 20 75 |he diago|nal to u|
|000001f0| 73 65 20 69 6e 73 74 65 | 61 64 0d 6f 66 20 74 68 |se inste|ad.of th|
|00000200| 65 20 6d 61 69 6e 20 64 | 69 61 67 6f 6e 61 6c 2e |e main d|iagonal.|
|00000210| 20 20 54 68 65 20 63 6f | 6e 76 65 6e 74 69 6f 6e | The co|nvention|
|00000220| 20 75 73 65 64 20 69 73 | 20 74 68 61 74 20 70 6f | used is| that po|
|00000230| 73 69 74 69 76 65 20 76 | 61 6c 75 65 73 20 61 72 |sitive v|alues ar|
|00000240| 65 0d 61 62 6f 76 65 20 | 74 68 65 20 6d 61 69 6e |e.above |the main|
|00000250| 20 64 69 61 67 6f 6e 61 | 6c 2c 20 6e 65 67 61 74 | diagona|l, negat|
|00000260| 69 76 65 20 76 61 6c 75 | 65 73 20 61 72 65 20 62 |ive valu|es are b|
|00000270| 65 6c 6f 77 20 74 68 65 | 20 6d 61 69 6e 20 64 69 |elow the| main di|
|00000280| 61 67 6f 6e 61 6c 2c 20 | 61 6e 64 0d 7a 65 72 6f |agonal, |and.zero|
|00000290| 20 69 73 20 74 68 65 20 | 6d 61 69 6e 20 64 69 61 | is the |main dia|
|000002a0| 67 6f 6e 61 6c 2e 0d 0d | 24 5c 4c 6f 6e 67 72 69 |gonal...|$\Longri|
|000002b0| 67 68 74 61 72 72 6f 77 | 24 20 54 68 69 73 20 69 |ghtarrow|$ This i|
|000002c0| 73 20 6e 6f 74 20 61 6e | 20 5c 52 4c 61 42 5c 20 |s not an| \RLaB\ |
|000002d0| 62 75 69 6c 74 2d 69 6e | 20 66 75 6e 63 74 69 6f |built-in| functio|
|000002e0| 6e 2e 20 20 54 68 69 73 | 20 66 75 6e 63 74 69 6f |n. This| functio|
|000002f0| 6e 0d 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 6c 6f |n.is nor|mally lo|
|00000300| 61 64 65 64 20 6f 6e 20 | 73 74 61 72 74 2d 75 70 |aded on |start-up|
|00000310| 20 66 72 6f 6d 20 74 68 | 65 20 5c 76 65 72 62 2b | from th|e \verb+|
|00000320| 74 72 69 6c 2e 72 2b 20 | 66 69 6c 65 20 69 6e 20 |tril.r+ |file in |
|00000330| 74 68 65 0d 73 74 61 6e | 64 61 72 64 20 5c 76 65 |the.stan|dard \ve|
|00000340| 72 62 2b 72 6c 69 62 2b | 20 64 69 72 65 63 74 6f |rb+rlib+| directo|
|00000350| 72 79 2e 20 55 73 65 20 | 6f 66 20 74 68 65 20 5c |ry. Use |of the \|
|00000360| 76 65 72 62 2b 2d 72 2b | 20 6f 70 74 69 6f 6e 2c |verb+-r+| option,|
|00000370| 20 69 6e 63 6f 72 72 65 | 63 74 6c 79 20 0d 73 65 | incorre|ctly .se|
|00000380| 74 74 69 6e 67 20 74 68 | 65 20 5c 76 65 72 62 2b |tting th|e \verb+|
|00000390| 52 4c 41 42 5f 4c 49 42 | 5f 44 49 52 2b 20 65 6e |RLAB_LIB|_DIR+ en|
|000003a0| 76 69 72 6f 6e 6d 65 6e | 74 61 6c 20 76 61 72 69 |vironmen|tal vari|
|000003b0| 61 62 6c 65 2c 20 6f 72 | 20 6d 6f 64 69 66 79 69 |able, or| modifyi|
|000003c0| 6e 67 0d 5c 76 65 72 62 | 2b 74 72 69 6c 2e 72 2b |ng.\verb|+tril.r+|
|000003d0| 20 6d 61 79 20 6d 61 6b | 65 20 74 68 69 73 20 66 | may mak|e this f|
|000003e0| 75 6e 63 74 69 6f 6e 20 | 75 6e 61 76 61 69 6c 61 |unction |unavaila|
|000003f0| 62 6c 65 2e 0d 0d 0d 5c | 70 61 72 61 67 72 61 70 |ble....\|paragrap|
|00000400| 68 7b 45 78 61 6d 70 6c | 65 7d 0d 5c 69 6e 64 65 |h{Exampl|e}.\inde|
|00000410| 78 7b 65 78 61 6d 70 6c | 65 20 6f 66 20 74 72 69 |x{exampl|e of tri|
|00000420| 6c 28 29 7d 0d 5c 69 6e | 64 65 78 7b 74 72 69 6c |l()}.\in|dex{tril|
|00000430| 28 29 21 65 78 61 6d 70 | 6c 65 7d 0d 5c 62 65 67 |()!examp|le}.\beg|
|00000440| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0d 3e 20 62 |in{verba|tim}.> b|
|00000450| 20 3d 20 72 61 6e 64 28 | 33 2c 35 29 0d 20 62 20 | = rand(|3,5). b |
|00000460| 3d 0d 20 20 20 20 20 20 | 20 20 31 20 20 20 20 20 |=. | 1 |
|00000470| 20 30 2e 33 33 33 20 20 | 20 20 20 20 30 2e 36 36 | 0.333 | 0.66|
|00000480| 35 20 20 20 20 20 20 30 | 2e 31 36 37 20 20 20 20 |5 0|.167 |
|00000490| 20 20 20 30 2e 39 31 20 | 20 0d 20 20 20 20 30 2e | 0.91 | . 0.|
|000004a0| 39 37 35 20 20 20 20 20 | 30 2e 30 33 36 39 20 20 |975 |0.0369 |
|000004b0| 20 20 20 30 2e 30 38 34 | 37 20 20 20 20 20 20 30 | 0.084|7 0|
|000004c0| 2e 36 35 35 20 20 20 20 | 20 20 30 2e 31 31 32 20 |.655 | 0.112 |
|000004d0| 20 0d 20 20 20 20 30 2e | 36 34 37 20 20 20 20 20 | . 0.|647 |
|000004e0| 20 30 2e 31 36 32 20 20 | 20 20 20 20 30 2e 32 30 | 0.162 | 0.20|
|000004f0| 34 20 20 20 20 20 20 30 | 2e 31 32 39 20 20 20 20 |4 0|.129 |
|00000500| 20 20 30 2e 32 39 39 20 | 20 0d 3e 20 74 72 69 6c | 0.299 | .> tril|
|00000510| 28 62 29 0d 20 20 20 20 | 20 20 20 20 31 20 20 20 |(b). | 1 |
|00000520| 20 20 20 20 20 20 20 30 | 20 20 20 20 20 20 20 20 | 0| |
|00000530| 20 20 30 20 20 20 20 20 | 20 20 20 20 20 30 20 20 | 0 | 0 |
|00000540| 20 20 20 20 20 20 20 20 | 30 20 20 0d 20 20 20 20 | |0 . |
|00000550| 30 2e 39 37 35 20 20 20 | 20 20 30 2e 30 33 36 39 |0.975 | 0.0369|
|00000560| 20 20 20 20 20 20 20 20 | 20 20 30 20 20 20 20 20 | | 0 |
|00000570| 20 20 20 20 20 30 20 20 | 20 20 20 20 20 20 20 20 | 0 | |
|00000580| 30 20 20 0d 20 20 20 20 | 30 2e 36 34 37 20 20 20 |0 . |0.647 |
|00000590| 20 20 20 30 2e 31 36 32 | 20 20 20 20 20 20 30 2e | 0.162| 0.|
|000005a0| 32 30 34 20 20 20 20 20 | 20 20 20 20 20 30 20 20 |204 | 0 |
|000005b0| 20 20 20 20 20 20 20 20 | 30 20 20 0d 3e 20 74 72 | |0 .> tr|
|000005c0| 69 6c 28 62 2c 31 29 0d | 20 20 20 20 20 20 20 20 |il(b,1).| |
|000005d0| 31 20 20 20 20 20 20 30 | 2e 33 33 33 20 20 20 20 |1 0|.333 |
|000005e0| 20 20 20 20 20 20 30 20 | 20 20 20 20 20 20 20 20 | 0 | |
|000005f0| 20 30 20 20 20 20 20 20 | 20 20 20 20 30 20 20 0d | 0 | 0 .|
|00000600| 20 20 20 20 30 2e 39 37 | 35 20 20 20 20 20 30 2e | 0.97|5 0.|
|00000610| 30 33 36 39 20 20 20 20 | 20 30 2e 30 38 34 37 20 |0369 | 0.0847 |
|00000620| 20 20 20 20 20 20 20 20 | 20 30 20 20 20 20 20 20 | | 0 |
|00000630| 20 20 20 20 30 20 20 0d | 20 20 20 20 30 2e 36 34 | 0 .| 0.64|
|00000640| 37 20 20 20 20 20 20 30 | 2e 31 36 32 20 20 20 20 |7 0|.162 |
|00000650| 20 20 30 2e 32 30 34 20 | 20 20 20 20 20 30 2e 31 | 0.204 | 0.1|
|00000660| 32 39 20 20 20 20 20 20 | 20 20 20 20 30 20 20 0d |29 | 0 .|
|00000670| 3e 20 74 72 69 6c 28 62 | 2c 33 29 0d 20 20 20 20 |> tril(b|,3). |
|00000680| 20 20 20 20 31 20 20 20 | 20 20 20 30 2e 33 33 33 | 1 | 0.333|
|00000690| 20 20 20 20 20 20 30 2e | 36 36 35 20 20 20 20 20 | 0.|665 |
|000006a0| 20 30 2e 31 36 37 20 20 | 20 20 20 20 20 20 20 20 | 0.167 | |
|000006b0| 30 20 20 0d 20 20 20 20 | 30 2e 39 37 35 20 20 20 |0 . |0.975 |
|000006c0| 20 20 30 2e 30 33 36 39 | 20 20 20 20 20 30 2e 30 | 0.0369| 0.0|
|000006d0| 38 34 37 20 20 20 20 20 | 20 30 2e 36 35 35 20 20 |847 | 0.655 |
|000006e0| 20 20 20 20 30 2e 31 31 | 32 20 20 0d 20 20 20 20 | 0.11|2 . |
|000006f0| 30 2e 36 34 37 20 20 20 | 20 20 20 30 2e 31 36 32 |0.647 | 0.162|
|00000700| 20 20 20 20 20 20 30 2e | 32 30 34 20 20 20 20 20 | 0.|204 |
|00000710| 20 30 2e 31 32 39 20 20 | 20 20 20 20 30 2e 32 39 | 0.129 | 0.29|
|00000720| 39 0d 3e 20 74 72 69 6c | 28 62 2c 2d 31 29 0d 20 |9.> tril|(b,-1). |
|00000730| 20 20 20 20 20 20 20 30 | 20 20 20 20 20 20 20 20 | 0| |
|00000740| 20 20 30 20 20 20 20 20 | 20 20 20 20 20 30 20 20 | 0 | 0 |
|00000750| 20 20 20 20 20 20 20 20 | 30 20 20 20 20 20 20 20 | |0 |
|00000760| 20 20 20 30 20 20 0d 20 | 20 20 20 30 2e 39 37 35 | 0 . | 0.975|
|00000770| 20 20 20 20 20 20 20 20 | 20 20 30 20 20 20 20 20 | | 0 |
|00000780| 20 20 20 20 20 30 20 20 | 20 20 20 20 20 20 20 20 | 0 | |
|00000790| 30 20 20 20 20 20 20 20 | 20 20 20 30 20 20 0d 20 |0 | 0 . |
|000007a0| 20 20 20 30 2e 36 34 37 | 20 20 20 20 20 20 30 2e | 0.647| 0.|
|000007b0| 31 36 32 20 20 20 20 20 | 20 20 20 20 20 30 20 20 |162 | 0 |
|000007c0| 20 20 20 20 20 20 20 20 | 30 20 20 20 20 20 20 20 | |0 |
|000007d0| 20 20 20 30 20 20 0d 5c | 65 6e 64 7b 76 65 72 62 | 0 .\|end{verb|
|000007e0| 61 74 69 6d 7d 0d 0d 53 | 65 65 20 61 6c 73 6f 3a |atim}..S|ee also:|
|000007f0| 20 50 61 67 65 7e 5c 70 | 61 67 65 72 65 66 7b 66 | Page~\p|ageref{f|
|00000800| 6e 3a 74 72 69 75 7d 20 | 5c 76 65 72 62 2b 74 72 |n:triu} |\verb+tr|
|00000810| 69 75 28 29 2b 2e 0d 0d | 5c 6e 65 77 70 61 67 65 |iu()+...|\newpage|
|00000820| 0d 0d 0d 0d | |.... | |
+--------+-------------------------+-------------------------+--------+--------+